import request from '@/utils/request'

// 获取托盘信息
export function getData(data) {
  return request({
    'url': '/warehouse/detail/list',
    'method': 'GET',
	'params': data
  })
}

// 字典字段查询
export function dictionaries(data) {
  return request({
    url: '/mes/md/dictDataLink/selectByLinkDescription/' + data,
    method: 'GET'
  })
}
// 根据托盘号查询组件出库
export function stockRemoval(data) {
  return request({
    url: '/warehouse/detail/outbound',
    method: 'get',
	'params': data
  })
}

// 组件查询
export function getmoduleId(data) {
  return request({
    url: '/warehouse/detail/listAll',
    method: 'get',
	'params': data
  })
}
//组件出库
export function putShipment(data) {
  return request({
    url: '/warehouse/detail/updateRandom',
    method: 'get',
    params:data
  })
}